org.eclipse.ui.views.markers
Class BookmarkView
java.lang.Object
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.ui.views.markers.internal.TableView
org.eclipse.ui.views.markers.internal.MarkerView
org.eclipse.ui.views.markers.BookmarkView
- All Implemented Interfaces:
- IAdaptable, IExecutableExtension, IViewPart, IWorkbenchPart
- public class BookmarkView
- extends org.eclipse.ui.views.markers.internal.MarkerView
Fields inherited from class org.eclipse.ui.views.markers.internal.MarkerView |
copyAction, deleteAction, focusResources, openAction, pasteAction, propertiesAction, revealAction, selectAllAction, showInNavigatorAction |
Fields inherited from class org.eclipse.ui.views.markers.internal.TableView |
columnLayouts, FILTERS_ACTION_ID, SORT_ACTION_ID |
Methods inherited from class org.eclipse.ui.views.markers.internal.MarkerView |
createActions, fillContextMenu, fillContextMenuAdditions, focusSelectionChanged, getVisibleMarkers, handleKeyPressed, handleOpenEvent, initDragAndDrop, initToolBar, refresh, registerGlobalActions, restoreSelection, saveSelection, sorterChanged, updateStatusMessage, updateStatusMessage, updateSummarySelected, updateSummaryVisible, viewerSelectionChanged |
Methods inherited from class org.eclipse.ui.views.markers.internal.TableView |
createColumns, createTable, getAction, getFields, getHeaderListener, getSelectionProvider, getSortDialog, getSorter, getViewer, initActionBars, initContextMenu, initMenu, putAction, setFocus, setSelection |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getDefaultImage, getJobChangeListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setInitializationData, setSite, setTitle, setTitleImage, setTitleToolTip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarkView
public BookmarkView()
createPartControl
public void createPartControl(Composite parent)
- Description copied from interface:
IWorkbenchPart
- Creates the SWT controls for this workbench part.
Clients should not call this method (the workbench calls this method when
it needs to, which may be never).
For implementors this is a multi-step process:
- Create one or more controls within the parent.
- Set the parent layout as needed.
- Register any global actions with the
IActionService
.
- Register any popup menus with the
IActionService
.
- Register a selection provider with the
ISelectionService
(optional).
dispose
public void dispose()
- Description copied from interface:
IWorkbenchPart
- Disposes of this workbench part.
This is the last method called on the IWorkbenchPart
. At this
point the part controls (if they were ever created) have been disposed as part
of an SWT composite. There is no guarantee that createPartControl() has been
called, so the part controls may never have been created.
Within this method a part may release any resources, fonts, images, etc.
held by this part. It is also very important to deregister all listeners
from the workbench.
Clients should not call this method (the workbench calls this method at
appropriate times).
init
public void init(IViewSite viewSite,
IMemento memento)
throws PartInitException
- Description copied from interface:
IViewPart
- Initializes this view with the given view site. A memento is passed to
the view which contains a snapshot of the views state from a previous
session. Where possible, the view should try to recreate that state
within the part controls.
This method is automatically called by the workbench shortly after part
construction. It marks the start of the views's lifecycle. Clients must
not call this method.
- Throws:
PartInitException
saveState
public void saveState(IMemento memento)
- Description copied from interface:
IViewPart
- Saves the object state within a memento.
getDefaultColumnLayouts
protected ColumnLayoutData[] getDefaultColumnLayouts()
getDialogSettings
protected IDialogSettings getDialogSettings()
getHiddenFields
protected org.eclipse.ui.views.markers.internal.IField[] getHiddenFields()
getRootTypes
protected String[] getRootTypes()
getViewerInput
protected Object getViewerInput()
getVisibleFields
protected org.eclipse.ui.views.markers.internal.IField[] getVisibleFields()
setSelection
public void setSelection(IStructuredSelection structuredSelection,
boolean reveal)
getMarkerTypes
protected String[] getMarkerTypes()
openFiltersDialog
public void openFiltersDialog()
getFilter
protected org.eclipse.ui.views.markers.internal.MarkerFilter getFilter()
updateFilterSelection
protected void updateFilterSelection(IResource[] resources)
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.